Unix - Interview Questions and Answers for 'Hcl technologies' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Unix - Interview Questions and Answers for 'Hcl technologies' - 3 question(s) found - Order By Newest

 Q1. What will be the crontab to run a job every last day of month ?Unix
Ans. 59 23 28-31 * * [ "$(date +%d -d tomorrow)" = "01" ] && job_name

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     unix  crontab     Asked in 1 Companies


Related Questions



 Q2. Write a unix command to find top 10 files by size ?Unix
Ans. du -a /var | sort -n -r | head -n 10

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     unix command     Asked in 1 Companies


Related Questions

  How to display and set the Class path in Unix ?
  What is the use of !! command ? Can I use it with conjunction to some other string to complete a command ?
 What are fields that gets displayed when you execute "Top" command and briefly explain each field ?
 As root, if you have to assign the owner for the file and set only read permission for the owner, Write a unix command to do it.
 Can you tell me any 10 unix command you have worked with ?
 How do you ftp files to a different server ? Do you use scp or mput etc.
 Can we change permissions recursively for all folders and files within a single folder ?
 Explain unix commands - cat and pwd.


 Q3. What are fields that gets displayed when you execute "Top" command and briefly explain each field ?Unix
Ans. PID - process identification number is an identification number that is automatically assigned to each process when it is created

USER - User Name

PR - PR is the process actual priority

NI is the nice value, which is a user-space concept.

VIRT -Virtual Image (kb). The total amount of virtual memory used by the task.

RES - Resident size (kb). The non-swapped physical memory a task has used.

SHR - Shared Mem size (kb). The amount of shared memory used by a task.

S - Process Status. The status of the task which can be one of:

D = uninterruptible sleep
R = running
S = sleeping
T = traced or stopped
Z = zombie

%CPU - % CPU usage

%MEM - % MEM Usage

TIME - Total CPU time the task has used since it started.

COMMAND - Command which was used to execute the process

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     top command  unix command     Asked in 1 Companies


Related Questions




Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: